import { PDFLoader } from "@langchain/community/document_loaders/fs/pdf";

const loader = new PDFLoader("data/novel.pdf", {
  splitPages: false,
});

const result = await loader.load();

console.log(result);
